package net.wanglu.www.zzz.service.se.poss;

import net.wanglu.www.zzz.service.se.__Tuple;
import edu.stanford.nlp.trees.Tree;
import edu.stanford.nlp.trees.TreeGraphNode;

public abstract class _PossTuple extends __Tuple{

	TreeGraphNode possessive;
	TreeGraphNode headword;
	
	Tree ancestor;

	public TreeGraphNode getPossessive() {
		return possessive;
	}
	public void setPossessive(TreeGraphNode possessive) {
		this.possessive = possessive;
	}
	public TreeGraphNode getHeadword() {
		return headword;
	}
	public void setHeadword(TreeGraphNode headword) {
		this.headword = headword;
	}
	public Tree getAncestor() {
		return ancestor;
	}
	public void setAncestor(Tree ancestor) {
		this.ancestor = ancestor;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		sb.clear();
		sb.append("headword:").append(this.headword).append("\n");
		sb.append("possessive:").append(this.possessive).append("\n");
		sb.append("ancestor:").append(this.ancestor);
		return sb.toString();
	}
}
